package com.oceansoft.mobile.econsole.modules.accident.entity;

import com.oceansoft.mobile.econsole.common.constant.ConfigInfo;

import javax.annotation.Resource;
import java.util.Date;

/**
 * 快撤理赔事故现场图片信息类
 *
 * @author chenw
 * @time o@time: 2014-8-17 14:06
 */
public class AccidentPhoto {

    @Resource
    protected ConfigInfo configInfo;

    private int id;
    /**
     * 事故编号
     */
    private String accidentId;
    /**
     * 当前登录客户端用户Id
     */
    private String userId;
    /**
     * 图片ID
     */
    private String photoGuid;
    /**
     * 图片分类 1:本人驾驶证照片 2:本人保险标志背面照 3:对方驾驶证照片 4:对方保险标识背面照片 5:车头方向照片 6:车尾方向照片 7:碰撞部位照片
     */
    private int photoType;
    private String photoName;
    private String takerName;
    private long size;
    private String filePath;
    private String coordinate;
    private String position;
    private Date shootTime;
    private String photoPath;   //图片显示路径
    private String suffix;      //文件后缀
    private byte[] fileContent;

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccidentId() {
        return accidentId;
    }

    public void setAccidentId(String accidentId) {
        this.accidentId = accidentId;
    }

    public String getPhotoGuid() {
        return photoGuid;
    }

    public void setPhotoGuid(String photoGuid) {
        this.photoGuid = photoGuid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getPhotoType() {
        return photoType;
    }

    public void setPhotoType(int photoType) {
        this.photoType = photoType;
    }

    public String getPhotoName() {
        return photoName;
    }

    public void setPhotoName(String photoName) {
        this.photoName = photoName;
    }

    public String getTakerName() {
        return takerName;
    }

    public void setTakerName(String takerName) {
        this.takerName = takerName;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getShootTime() {
        return shootTime;
    }

    public void setShootTime(Date shootTime) {
        this.shootTime = shootTime;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public byte[] getFileContent() {
        return fileContent;
    }

    public void setFileContent(byte[] fileContent) {
        this.fileContent = fileContent;
    }
}
